//
//  MyRequest.h
//  AFNetworking
//
//  Created by zhiyou on 16-4-13.
//  Copyright (c) 2016年 wangyang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

typedef void(^successBlock)(NSDictionary *dic);
typedef void(^failBlock)(NSError *error);
@interface MyRequest : NSObject

+ (void)getWithURL:(NSString *)URL parameters:(NSDictionary *)dic success:(successBlock)success fail:(failBlock)fail;

@end
